package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * @Description 业务状态(内)
 * @Author Peng_Jinbo
 * @Date 2020/06/16 17:56
 */
public enum BusinessStateInEnum implements AfsBaseEnum {
    /**
     * 草稿
     */
    @AfsEnum(key = "draft", desc = "草稿")
    DRAFT,

    @AfsEnum(key = "submitted", desc = "已提交")
    SUBMITTED,

    @AfsEnum(key = "waitQuery", desc = "待查询")
    WAIT_QUERY,

    @AfsEnum(key = "allocation", desc = "待分配")
    ALLOCATION,

    @AfsEnum(key = "taskAssign", desc = "任务分配失败")
    TASK_ASSIGN,

    @AfsEnum(key = "taskAssigning",desc = "任务分配中")
    TASK_ASSIGNING,

    @AfsEnum(key = "waitCheck", desc = "待审核")
    WAIT_CHECK,

    @AfsEnum(key = "adviceApproved", desc = "建议核准")
    ADVICE_APPROVED,

    @AfsEnum(key = "adviceReject", desc = "建议拒绝")
    ADVICE_REJECT,

    @AfsEnum(key = "adviceConditional", desc = "建议附条件核准")
    ADVICE_CONDITIONAL,

    @AfsEnum(key = "visit", desc = "家访中")
    VISIT,

    @AfsEnum(key = "pause", desc = "暂停")
    PAUSE,

    @AfsEnum(key = "revocation", desc = "撤回")
    REVOCATION,

    @AfsEnum(key = "reviseParse", desc = "修订-暂停")
    REVISE_PARSE,

    @AfsEnum(key = "reviseReply", desc = "修订-回复")
    REVISE_REPLY,

    @AfsEnum(key = "repeal", desc = "撤销")
    REPEAL,

    @AfsEnum(key = "approved", desc = "核准")
    APPROVED,

    @AfsEnum(key = "reject", desc = "拒绝")
    REJECT,

    @AfsEnum(key = "conditionalApproval", desc = "附条件核准")
    CONDITIONAL_APPROVE,

    @AfsEnum(key = "invalid", desc = "失效")
    INVALID,

    @AfsEnum(key = "none", desc = "无")
    NONE,
    /**
     * 场景核准后进件端发起取消
     */
    @AfsEnum(key = "cancel", desc = "取消")
    CANCEL,

    /**
     * add by gjq
     */
    @AfsEnum(key = "cancelConditional", desc = "取消附条件核准")
    CANCEL_ADVICE_CONDITIONAL,

    @AfsEnum(key = "callBackWaitSubmit", desc = "撤回待提交")
    CALL_BACK_WAIT_SUBMIT,
}
